<%@page import="bean.MboardDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>delete</title>
<script src="../js/mboard.js"></script>
</head>
<body>
<jsp:useBean id="vo" class="bean.MboardVO" scope="page"></jsp:useBean>
<jsp:setProperty property="*" name="vo"/>
<% 
MboardDTO dto = new MboardDTO();
dto.setVo(vo);
if(dto.delete()){
	out.print("성공");
}else{
	out.print("오류");
}

%>

<input type="button" value="목록으로" id="btnlist">
<script>deletinit();</script>
</body>
</html>	